﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UIWindows.Attributes;

namespace UIWindows.Models.ParameterModels
{
    public class InteractiveAddressModel
    {
        #region 记忆跟踪异常
        /// <summary>
        /// 短路记忆
        /// </summary>
        [UIMark("短路记忆")]
        public int Erinnerungen_Kurzschluss { get; set; }
        /// <summary>
        /// 前称重记忆
        /// </summary>
        [UIMark("前称重记忆")]
        public int Erinnerungen_BeforeWeighing { get; set; }
        /// <summary>
        /// 后称重记忆
        /// </summary>
        [UIMark("后称重记忆")]
        public int Erinnerungen_AfterWeighing { get; set; }
        /// <summary>
        /// 补液称重记忆
        /// </summary>
        [UIMark("补液称重记忆")]
        public int Erinnerungen_RefillWeighing { get; set; }
        /// <summary>
        /// 后扫码记忆
        /// </summary>
        [UIMark("后扫码记忆")]
        public int Erinnerungen_AfterScanCode { get; set; }
        /// <summary>
        /// 胶钉高度记忆
        /// </summary>
        [UIMark("胶钉高度记忆")]
        public int Erinnerungen_NailHeight { get; set; }

        /// <summary>
        /// 补液量记忆
        /// </summary>
        [UIMark("补液量记忆")]
        public int Erinnerungen_LiquidFillingPump { get; set; }
        #endregion

        #region 报警
        /// <summary>
        /// 前称重报警
        /// </summary>
        [UIMark("前称不稳定")]
        public int Alarm_BeforeWeighing { get; set; }
        /// <summary>
        /// 后称重报警
        /// </summary>
        [UIMark("后称不稳定")]
        public int Alarm_AfterWeighing { get; set; }

        /// <summary>
        /// 补液称重报警
        /// </summary>
        [UIMark("补液称重报警")]
        public int Alarm_RefillWeighing { get; set; }
        /// <summary>
        /// 下料称重报警
        /// </summary>
        public int Alarm_CuttingWeighing { get; set; }
        /// <summary>
        /// 露点报警
        /// </summary>
        [UIMark("露点报警")]
        public int Alarm_DewPoint { get; set; }
        #endregion

        #region 电子称清零异常
        /// <summary>
        /// 前称重清零异常
        /// </summary>
        [UIMark("前称重清零")]
        public int Alarm_Zeroing_BeforeWeighing { get; set; }
        /// <summary>
        /// 后称重清零异常
        /// </summary>
        [UIMark("后称重清零")]
        public int Alarm_Zeroing_AfterWeighing { get; set; }

        /// <summary>
        /// 补液称清零异常
        /// </summary>
        [UIMark("补液称清零异常")]
        public int Alarm_Zeroing_RefillWeighing { get; set; }
        #endregion

        /// <summary>
        /// MES停机
        /// </summary>
        [UIMark("MES停机")]
        public int MESShutdown { get; set; }

        /// <summary>
        /// 首检报警
        /// </summary>
        [UIMark("首检报警")]
        public int FitstCheckShutdown { get;set; }

        /// <summary>
        /// 一键点检
        /// </summary>
        [UIMark("一键点检")]
        public int OneClickSpotCheck { get; set; }

        //[UIMark("测试枚举", "", 2, typeof(Enums.AuthorityTypes), new string[] { "_参照", null, "ALL", "无权限", "超级管理员" })]
        //public Enums.AuthorityTypes Authority { get; set; }
    }
}
